#ifndef __BIT_OPT__
#define __BIT_OPT__

#define __ALIGNED(x) __attribute__ ((aligned (x)))
#define __packed __attribute__ ((packed))
#define BIT(x)  (1<<(x)) 
#define COVER(x) ~(BIT(x))
#define __WEAK __attribute__((weak))
#define __NORETURN __attribute__((noreturn))
#define __INIT __attribute__((constructor))
#define __EXIT __attribute__((destructor))
#define SET_BIT(x,y) y|=(1<<(x))
#define CHECK_BIT(x,y) ((y)&(1<<(x)))?1:0
#define __UNUSED __attribute__((unused))
#define __CONST __attribute__((const))
#endif /*__BIT_OPT__*/
